<!--
 * @Author: zulezhe
 * @Date: 2021-01-26 13:49:48
 * @LastEditors: zulezhe
 * @LastEditTime: 2021-05-20 09:03:13
 * @Description: In User Settings Edit
 * @FilePath: \canvas\03-高级\平滑运动.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <title>canvas底图</title>
</head>

<body>
  <canvas id="canvas"></canvas>
  <script>
    // 地图类
    class Map {
      constructor(option) {
        this[container] = { ...option }
      }

    }
    // 视图类
    class Viewer {

    }
    // 控制类
    class Control {

    }
    //工具类
    class Util {

    }
    //
  </script>
</body>

</html>